/**
 *
 */
package com.zhuoyue.elmt.dao;

import com.eit.eitsite.common.persistence.CrudDao;
import com.eit.eitsite.common.persistence.annotation.MyBatisDao;
import com.zhuoyue.elmt.entity.MaintenanceContract;
import com.zhuoyue.elmt.entity.MaintenanceContractDevice;
import com.zhuoyue.elmt.entity.MaintenanceRecordItem;

import java.util.HashMap;
import java.util.List;

/**
 * 维保合同备案DAO接口
 * @author chenhao
 * @version 2016-09-08
 */
@MyBatisDao
public interface MaintenanceContractDao extends CrudDao<MaintenanceContract> {
    public List<HashMap> findMaintenanceContractDevice(HashMap params);
    public void insertMaintenanceContractDevice(java.util.HashMap params);
    public void deleteMaintenanceContractDeviceByContractId(String contractId);
    public List<HashMap> findContractDeviceList(MaintenanceContractDevice maintenanceContractDevice);

    public List<MaintenanceContract> findEffectiveDeviceList(MaintenanceContract maintenanceContract);
}